package com.oo.abstractAndInterface_6.animal;

/**
 * AnimalTest--${description}
 *
 * @author: Jovi
 * @createTime: 2017-04-19 10:27
 **/
public class AnimalTest {

    public static void main(String[] args) {
        SumMonkey monkey = new SumMonkey();
        monkey.setName("The Monkey King");
        monkey.shout();
        monkey.change();

        MachineCat machineCat = new MachineCat();
        machineCat.setName("Jingle cats");
        machineCat.change();
        machineCat.shout();
    }
}
